<title>Clear Flat Signin Form Widget Template | Home </title>
<!-- Custom Theme files -->
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" media="all">
<!-- Custom Theme files -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="keywords" content="Login form web template, Sign up Web Templates, Flat Web Templates, Login signup Responsive web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />


<style> 
body{ text-align:center} 
.div{ margin:0 0 0 30px; width:300px; height:320px; border:0px solid #F00} 
/* css注释：为了观察效果设置宽度 边框 高度等样式 */ 
</style> 


<?php
$this->pageTitle=Yii::app()->name . ' - register';
$this->breadcrumbs=array(
	'register',
);
?>

<h1 style = 'font-size:30px;align:center;color:blue;'>注        册</h1>


<?php /* $form=$this->beginWidget('CActiveForm', array(
	'id'=>'register-form',
	'enableAjaxValidation'=true,
));  */?>
<?php $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id'=>'register-form',
	'enableAjaxValidation'=>true,
    'type'=>'horizontal',
)); ?>

<div class = 'div'>
		<?php echo $form->textFieldRow($model, 'username', array('class'=>'span3')); ?>
        <?php echo $form->textFieldRow($model, 'email', array('class'=>'span3')); ?>
        <?php echo $form->passwordFieldRow($model, 'password', array('class'=>'span3')); ?>
        <?php echo $form->passwordFieldRow($model, 'repassword', array('class'=>'span3')); ?>
</div>
<div class="register_row submit">
	<?php echo CHtml::submitButton('注     册',array('class'=>'btn btn-big btn-primary', 'style'=>'font-size:25px')); ?>
   
</div>
	</br>
<div>
	   已经有账号？<a href="./index.php?r=businessInf/login" class="f4">请登录</a>
</div>
</br></br></br></br></br></br>	

<?php $this->endWidget(); ?>
